package com.jimmy.dreamer;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;

public class Splash extends Activity {
        protected int _splashTime = 4000; // time to display the splash screen in ms

        @Override
        protected void onCreate(Bundle savedInstanceState) {
                super.onCreate(savedInstanceState);
                setContentView(R.layout.splash);
               
        new Handler().postDelayed(new Runnable(){

            public void run() {
            	Splash.this.finish();
            	Intent l = new Intent(Splash.this, Dreamer.class);
        		startActivity(l);
                    
            }
             
           }, _splashTime);
       }
               

}

